import React from 'react';
// import useCountHook from './Hooks/CountHook';
// import useMsgHook from './Hooks/useMsgHook';
import RouterView from './routes';
import {BrowserRouter as Router} from 'react-router-dom'
const App = () => {
  // const [count,add]=useCountHook()
  // const [msg,changeMsg]=useMsgHook()

  
  return (
    <Router>
     {/*  App
      <button onClick={add}>{count}</button>
      <button onClick={changeMsg}>{msg}</button> */}
      <RouterView></RouterView>
    </Router>
  );
}

export default App;
